package com.ocom.payhandle.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ocom.common.entity.payconfig.EntityVoucherData;
import com.ocom.common.vo.pyhandle.VoucherListVo;

import java.util.Date;
import java.util.List;

public interface VoucherDataService extends IService<EntityVoucherData> {


    Boolean useVoucherNo(Long comId, String voucherNo,Integer num);


    List<VoucherListVo> selectVoucherList(Long comId,
                                          Long pid,
                                          Date consDate,
                                          String VoucherTypes,
                                          Integer consTimeZone,
                                          Integer consType);

    public List<VoucherListVo> selectVoucherList(Long comId,
                                                 Long pid,
                                                 Date consDate);
}
